package com.xtck.ha.fault.core.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xtck.ha.common.core.annotation.Excel;
import com.xtck.ha.common.core.annotation.IgnoreProperty;
import com.xtck.ha.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.xtck.ha.common.core.annotation.TableName;
import com.xtck.ha.common.core.annotation.ClassKey;
import java.math.BigDecimal;
import java.util.Date;

/**
* @ClassName: DsModInfo
* @Description: 实体类
* @author zhoutanxin
* @date 2025-07-01
*/
@Data
@ApiModel(description = "")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value="MOD_INFO")
public class DsModInfo extends BaseEntity {
        @IgnoreProperty
        private static final long serialVersionUID = 1L;
        /**
        * id
        */
        @ApiModelProperty("id")
        @Excel(name = "id")
        @ClassKey
        @JsonSerialize(using = ToStringSerializer.class)
        private Long id;
        /**
        * 模型名称
        */
        @ApiModelProperty("模型名称")
        @Excel(name = "模型名称")
        private String modName;
        /**
        * 模型中文名
        */
        @ApiModelProperty("模型中文名")
        @Excel(name = "模型中文名")
        private String modNameCn;
        /**
        * 模型描述
        */
        @ApiModelProperty("模型描述")
        @Excel(name = "模型描述")
        private String modDesc;
        /**
        * 服务状态(0:停止,1:运行)
        */
        @ApiModelProperty("服务状态(0:停止,1:运行)")
        @Excel(name = "服务状态(0:停止,1:运行)")
        private Boolean serverState;
        /**
        * 模型文件存储路径
        */
        @ApiModelProperty("模型文件存储路径")
        @Excel(name = "模型文件存储路径")
        private String modPath;
        /**
        * 服务启动文件名
        */
        @ApiModelProperty("服务启动文件名")
        @Excel(name = "服务启动文件名")
        private String startServiceFile;
        /**
        * 模型调用地址
        */
        @ApiModelProperty("模型调用地址")
        @Excel(name = "模型调用地址")
        private String addr;
        /**
        * 创建时间
        */
        @ApiModelProperty("创建时间")
        @Excel(name = "创建时间")
        private Date createTime;
        /**
        * 更新时间
        */
        @ApiModelProperty("更新时间")
        @Excel(name = "更新时间")
        private Date updateTime;

}
